package org.example.FactoryPattern;

/**
 * 具体产品类：标准住宿
 */
public class StandardAccommodation extends Accommodation {
    public StandardAccommodation() {
        this.accommodationType = 1;
        this.price = 700;
        this.roomDescription = "Standard room with basic facilities";
    }

    @Override
    public void getAccommodationInformation() {
        System.out.println(
                "Standard Accommodation | Price: " + price +
                        " | Description: " + roomDescription
        );
    }

    @Override
    public void updateCleaningStatus(boolean newStatus) {
        this.cleaningStatus = newStatus ? "Clean" : "Dirty";
        System.out.println("Cleaning status updated to: " + cleaningStatus);
    }
}